import i18n from '../../../i18n/i18n'
export const tableOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  addBtn: false,
  searchSize: 'mini',
  menu: false,
  searchBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: i18n.t('distribUserWallet.distributorNickname'),
    prop: 'nickName',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.mobileTelNumber'),
    prop: 'userMobile',
    width: 260,
    searchLabelWidth: i18n.t('language') === 'language' ? 240 : 120,
    slot: true,
    search: true
  }, {
    width: 150,
    label: i18n.t('home.reasons'),
    prop: 'banReason',
    type: 'select',
    search: true,
    dicData: [
      {
        label: i18n.t('distribUserWallet.lostContact'),
        value: 0
      }, {
        label: i18n.t('distribUserWallet.maliciousSwipe'),
        value: 1
      }, {
        label: i18n.t('distribUserWallet.other'),
        value: 2
      }
      // , {
      //   label: i18n.t('distribUserWallet.cheat'),
      //   value: 3
      // }
    ]
  },
  {
    label: i18n.t('publics.remark'),
    prop: 'remarks',
    dicData: [
      {
        label: i18n.t('distribUserWallet.nothing'),
        value: ''
      }
    ]
  }, {
    label: i18n.t('distribUserWallet.operator'),
    prop: 'username',
    slot: true
  }, {
    label: i18n.t('distribUserWallet.operatorTime'),
    prop: 'updateTime',
    sortable: true
  }, {
    width: 150,
    label: i18n.t('publics.status'),
    prop: 'state',
    type: 'select',
    search: true,
    dicData: [
      {
        label: i18n.t('publics.normal'),
        value: 1
      }, {
        label: i18n.t('distribUserWallet.liquidation'),
        value: 2
      }, {
        label: i18n.t('distribUserWallet.ban'),
        value: -1
      }
    ]
  }
  ]
}
